projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f394223
)
(create_process): Undo April 19 setsid change.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 2 May 1994 04:07:06 +0000
(
04:07
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 2 May 1994 04:07:06 +0000
(
04:07
+0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 26c59b8ff86732883da9282fe61b9488fd8ff69e..9ef6eb1dede670f608511c0a617fdb09b3d351e5 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1277,10
+1277,12
@@
create_process (process, new_argv, current_dir)
#ifdef HAVE_PTYS
/* First, disconnect its current controlling terminal. */
#ifdef HAVE_SETSID
+ /* We tried doing setsid only if pty_flag, but it caused
+ process_set_signal to fail on SGI when using a pipe. */
+ setsid ();
/* Make the pty's terminal the controlling terminal. */
if (pty_flag)
{
- setsid ();
#ifdef TIOCSCTTY
/* We ignore the return value
because faith@cs.unc.edu says that is necessary on Linux. */